home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
msdos
/
raytrace
/
pov
/
gen
/
diamndrv
/
diamond.doc
< prev
next >
Wrap
Text File
|
1992-11-23
|
2KB
|
40 lines
DIAMOND files
(c) 1992, Splat! Graphics
These programs generate diamond geometrical files. The only features they
omit is the rounded bevel that's usually placed around the circumference,
and the tiny 58th facet at the bottom. They're minor details.
The files:
DIAMOND.3D can be viewed with Oscar Garcias 3DV program, allowing you to
tumble the diamond wire frame real time with your mouse.
DMDVIEWS.BAS shows the diamond from 4 sides, omitting backside details for
clarity in the views. This program does not generate a data file, but
the meaning of the code that's used is easy to follow and hack.
DIAMDAT.BAS writes DIAMOND.VO, a VIVID object file, that contains 80
triangular patches. Diamonds have 58 facets, but 16 of those are
parallelograms and the top facet is an octagon, making 57. (I omit the
very bottom facet as it's small and easily overlooked.)
Stephen Coy's VIVID raytracer does the best job of rendering refractive
objects as of when this data file was created. Please feel free to
prove me wrong <g>, but please tell me about it. I'm keen to learn.
Additional Suggestions:
The program PRISMS (available separately) adds together single color channels
from three different TGA graphics files. Rendering the diamonds with three
refractive indices and combining one color from each produces impressive
chromatic dispersion effects with a ray tracer. Not entirely accurate but
good enough to fool most bystanders.
Jeff Bowermaster
[72040,2117]